<?php
/*
YHM (Your Hosting Manager) - Copyright 2010 All Rights Reserved. - YHM Group
Released under the Simplified BSD Licence.

Website: http://yhm.co.uk
Licence: http://yhm.co.uk/about/#licence

file: includes/settings.php
author: Charlie
*/

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='1'");
$row = mysql_fetch_array($query);
$settings['title'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='2'");
$row = mysql_fetch_array($query);
$settings['url'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='3'");
$row = mysql_fetch_array($query);
$settings['sendmail'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='4'");
$row = mysql_fetch_array($query);
$settings['index_redirect'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='5'");
$row = mysql_fetch_array($query);
$settings['lang'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='6'");
$row = mysql_fetch_array($query);
$settings['theme'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='7'");
$row = mysql_fetch_array($query);
$settings['signups'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='8'");
$row = mysql_fetch_array($query);
$settings['tos'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='9'");
$row = mysql_fetch_array($query);
$settings['free_activation'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='10'");
$row = mysql_fetch_array($query);
$settings['p2h_activation'] = $row['value'];

$query = mysql_query("SELECT value FROM ".TABLE_PREFIX."settings WHERE id='11'");
$row = mysql_fetch_array($query);
$settings['p2h_field'] = $row['value'];
?>